Part of the answer, discovered in 2015, is that queen bees vaccinate their eggs by transferring into them, before they are laid, fragments of proteins from diseasecausing pathogens.
When winter begins, all bumblebees die except a few pregnant queen bees. In the spring, those queens head out alone to start a new structure to live and produce worker bees in, beginning the process all over again.